package com.lrkj.payfee.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lrkj.payfee.domain.RuleCost;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class AdueRecordVo {

    //唯一标识
    private String id;

    //客户名称
    private String ownerName;
    //费用类型
    private String projectId;
    //费用项目
    private String chargeId;
    //费用标准
    private String normId;
    //房屋收费标准ID
    private String roomNormId;
    //费用标准名称
    private String normNames;

    //费用项目名称
    private String chargeName;

    //开始时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date beginTime;
    //结束时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date finishTime;
    //单价
    private BigDecimal prices;
    //应收金额
    private BigDecimal receivableMoney;
    //未收金额
    private BigDecimal amountOwed;
    //已收金额
    private BigDecimal haveMoney;
    //优惠金额
    private BigDecimal specialMoney;
    //房屋ID
    private String roomId;
    //状态
    private String status;
    //组织结构 节点ID
    private String nodeId;

    //业主ID
    private String ownerId;

    //开票状态
    private String invoiceStatus;

    //冲抵金额
    private BigDecimal amountAmount;

    //缴费截止月
    private String paymentCycle;

    //月数
    private Integer monthNum;


    //收费单IDS
    private String ruleCostIds;

    private String roomIds;

    //房间名称
    private String roomName;

    //排序规则
    private String groupRule;

    //费用单明细
    List<RuleCost> ruleCostList;

    //交讫年月
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date deliveryTime;

    //预收金额
    private BigDecimal advanceAmount;

    //结账期间
    private String fiscalPeriod;

}
